﻿CREATE TABLE [dbo].[DanhMuc_Menu] (
    [MenuID]     INT            IDENTITY (1, 1) NOT NULL,
    [TenMenu]    NVARCHAR (255) NULL,
    [TenModule]  NVARCHAR (255) NULL,
    [TenForm]    NVARCHAR (255) NULL,
    [DienGiai]   NVARCHAR (255) NULL,
    [TenThuMuc]  NVARCHAR (50)  NULL,
    [Hinh]       IMAGE          NULL,
    [MaLoaiMenu] INT            NULL,
    PRIMARY KEY CLUSTERED ([MenuID] ASC),
    CONSTRAINT [FK_DanhMuc_Menu_DanhMuc_LoaiMenu] FOREIGN KEY ([MaLoaiMenu]) REFERENCES [dbo].[DanhMuc_LoaiMenu] ([MaLoaiMenu]) ON DELETE CASCADE ON UPDATE CASCADE
);

